package com.woniuxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

/**
 * @author 佘赛飞
 * @create 2021-11-18 4:37 下午
 */
@Controller
@RequestMapping("/ruser")
public class ListController {
    @RequestMapping("/deletChoice")
    public ModelAndView deletChoice(@RequestParam("ids")List<Integer> ids){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.addObject("ids","传入的数组是："+ids);
        modelAndView.setViewName("listview");
        return modelAndView;
    }
}
